package jp.co.toshiba.ffsa.common;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

public class MetadataIn extends Metadata {

    public String technology;
    public String base;
    @JsonProperty("package")
    public String pkg;
    public String gateSize;
    public String targetFreq;
    public String junctionTemperatureTjMax;
    public String junctionTemperatureTjMin;
    public String coreVoltageMax;
    public String coreVoltageMin;
    public String filesetType;
    public String gateNetlistOption;
    public String sdfOption;

    public MetadataIn(String updateTime, String systemName, String projectId,
            String userId, String contractNumber, String chipCornerName,
            String workflow, String revision, String datetime, String directory,
            List<DesignFile> files, String status, String technology,
            String base, String pkg, String gateSize, String targetFreq,
            String junctionTemperatureTjMax, String junctionTemperatureTjMin,
            String coreVoltageMax, String coreVoltageMin, String filesetType,
            String gateNetlistOption, String sdfOption) {
        super(updateTime, systemName, projectId, userId, contractNumber,
                chipCornerName, workflow, revision, datetime, directory, files,
                status);

        this.technology               = technology;
        this.base                     = base;
        this.pkg                      = pkg;
        this.gateSize                 = gateSize;
        this.targetFreq               = targetFreq;
        this.junctionTemperatureTjMax = junctionTemperatureTjMax;
        this.junctionTemperatureTjMin = junctionTemperatureTjMin;
        this.coreVoltageMax           = coreVoltageMax;
        this.coreVoltageMin           = coreVoltageMin;
        this.filesetType              = filesetType;
        this.gateNetlistOption        = gateNetlistOption;
        this.sdfOption                = sdfOption;
    }

    // JACKSONの仕様で、デフォルトコンストラクタがないと動かない
    public MetadataIn() {
    }

    public String create() {
        return "";
    }

}
